// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
import { MenusResult } from './model/menusModel';
export async function getMenusList(data: API.PageParams & { title: string }) {
  return request<MenusResult>(AUTH_URL + '/menu/list', {
    method: 'POST',
    data,
  });
}
